package com.ansuenjob.jsonBuilder;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;

import com.ansuenjob.vo.JobApplyRecordVO;


public class JobApplyRecordVOFunctions {
	public static List<JobApplyRecordVO> getJobApplyRecordVos(JSONArray jsonArray) throws JSONException {
		JobApplyRecordVOBuilder builder = new JobApplyRecordVOBuilder();
		List<JobApplyRecordVO> jobApplyRecordVOst = new ArrayList<JobApplyRecordVO>();
		for (int i = 0; i < jsonArray.length(); i++) {
			jobApplyRecordVOst.add(builder.buildJson(jsonArray.getJSONObject(i)));
		}
		return jobApplyRecordVOst;
	}
}
